package tech.aistar.design.decorator;

/**
 * 本类用来演示: 配料的顶级的抽象父类
 *
 * @author: success
 * @date: 2021/3/24 1:53 下午
 */
public abstract class Burden {
    private Milk milk;

    public Burden(Milk milk){
        this.milk = milk;
    }

    public double getPrice(){
        return milk.getPrice();
    }

    public String getBrand(){
        return milk.getBrand();
    }
}
